[PATCH] auth: Use AUTH_CACHE_KEY_USER instead of per-database constants
authorAki Tuomi <aki.tuomi@open-xchange.com>
Fri, 25 Jul 2025 05:16:52 +0000 (08:16 +0300)
committerNoah Meyerhans <noahm@debian.org>
Wed, 24 Sep 2025 13:14:50 +0000 (09:14 -0400)
commit8c5f4d416c50d75eb83c65941b0dd87b03151e07
treef7a23564aff2f99e3e5e1260064c6085562f81c7
parent9b98956d87bc21865bf13b60478ef1fc18b98096
[PATCH] auth: Use AUTH_CACHE_KEY_USER instead of per-database constants

Fixes cache key issue where users would end up overwriting
each other in cache due to cache key being essentially static
string because we no longer support %u.

Forgotten in 2e298e7ee98b6df61cf85117f000290d60a473b8

Gbp-Pq: Name auth__Use_AUTH_CACHE_KEY_USER_instead_of_per-database.patch
src/auth/auth-settings.h
src/auth/passdb-bsdauth.c
src/auth/passdb-oauth2.c
src/auth/passdb-pam.c
src/auth/passdb-passwd.c
src/auth/userdb-passwd.c